import type { InternalAxiosRequestConfig, AxiosResponse } from "axios"

// 请求拦截器
export const requestInterceptor = (config: InternalAxiosRequestConfig) => {

  return config
}

// 响应拦截器
export const responseInterceptor = (response: AxiosResponse) => {

  const { status, data } = response
  if (status == 200) {
    return data
  }

}